<#ftl encoding="UTF-8" />
            <div id="panel_top" style="position:relative; height:28px; line-height:28px; text-align:center;">
                <div id="panel_search" style="position:relative; margin:0 auto; top:2px;">
                    款号：<input type="text" id="StyleNo" name="_StyleNo" tabindex="1" style="width:500px;" />（注：多个款号用 / 隔开）
                    <input type="button" name="_but_filter" value="搜索" id="but_filter" class="act__button" onclick="_Instance.DoSearch();"/>
                    <input type="button" name="_but_print" value="打印" id="but_print" class="act__button" onclick="_Instance.ExportToExcel('tab_data01', '款成本', '款成本表.xls');" />
                    <a id="dlink" style="display:none;"></a>
                </div>
            </div>
            <div id="grid_wrapper" style="clear:both; position:relative; top:10px; margin:0 8px;">
                <table id="tab_head01" class="layout display" style="width:100%;">
                    <colgroup>
                        <col />
                        <col style="width: 60px;" />
                        <col style="width: 140px;" />
                        <col style="width: 160px;" />
                        <col style="width: 90px;" />
                        <col style="width: 32px;" />
                        <col style="width: 85px;" />
                        <col style="width: 50px;" />
                        <col style="width: 60px;" />
                        <col style="width: 70px;" />
                        <col style="width: 70px;" />
                        <col style="width: 70px;" />
                        <col style="width: 70px;" />
                        <col style="width: 70px;" />
                        <col style="width: 70px;" />
                        <col style="width: 70px;" />
                        <col style="width: 70px;" />
                        <col style="width: 18px;" />
                    </colgroup>
                    <thead>
                        <tr>
                            <th rowspan="2" class="report" style="text-align:center;">款号</th>
                            <th rowspan="2" class="report" style="text-align:center;">供应商</th>
                            <th rowspan="2" class="report" style="text-align:center;">材料名称</th>
                            <th rowspan="2" class="report" style="text-align:center;">材料编码</th>
                            <th rowspan="2" class="report" style="text-align:center;">规&nbsp;&nbsp;格<br />(毛幅)</th>
                            <th rowspan="2" class="report" style="text-align:center;">单位</th>
                            <th rowspan="2" class="report" style="text-align:center;">颜色</th>
                            <th rowspan="2" class="report" style="text-align:center;">单耗</th>
                            <th rowspan="2" class="report" style="text-align:center;">单价</th>
                            <th rowspan="2" class="report" style="text-align:center;">库存数</th>
                            <th rowspan="2" class="report" style="text-align:center;">调达数量</th>
                            <th rowspan="2" class="report" style="text-align:center;">采购数量</th>
                            <th rowspan="2" class="report" style="text-align:center;">金额</th>
                            <th rowspan="2" class="report" style="text-align:center;">付款数量</th>
                            <th rowspan="2" class="report" style="text-align:center;">付款金额</th>
                            <th colspan="2" class="report cell_01" style="text-align:center;">入库与合同</th>
                            <th rowspan="2" class="report" style="text-align:center;"></th>
                        </tr>
                        <tr>
                            <th style="text-align:center;" class="cell_02">差量</th>
                            <th style="text-align:center;" class="cell_02">差额</th>
                        </tr>
                    </thead>
                </table>
                <div id="div_content" class="grid__data_wrapper" style="border-left:none; width:100%; overflow-y:scroll;">
                    <table id="tab_data01" class="responsive__table" style="margin-top:-1px;">
                        <colgroup>
                            <col />
                            <col style="width: 60px;" />
                            <col style="width: 140px;" />
                            <col style="width: 160px;" />
                            <col style="width: 90px;" />
                            <col style="width: 32px;" />
                            <col style="width: 85px;" />
                            <col style="width: 50px;" />
                            <col style="width: 60px;" />
                            <col style="width: 70px;" />
                            <col style="width: 70px;" />
                            <col style="width: 70px;" />
                            <col style="width: 70px;" />
                            <col style="width: 70px;" />
                            <col style="width: 70px;" />
                            <col style="width: 70px;" />
                            <col style="width: 70px;" />
                        </colgroup>
                        <tbody></tbody>
                    </table>
                </div>
                <table id="tab_head02" class="layout display" style="width:363px; margin-top:5px;">
                    <colgroup>
                        <col style="width: 120px;" />
                        <col style="width: 120px;" />
                        <col style="width: 120px;" />
                    </colgroup>
                    <thead>
                        <tr>
                            <th class="report" style="text-align:center;">材料总金额</th>
                            <th class="report" style="text-align:center;">附加费总金额</th>
                            <th class="report" style="text-align:center;">付款总金额</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td style="text-align:center;" id="PoTotalAmount"></td>
                             <td style="text-align:center;" id="PoNoMaterialTotalAmount"></td>
                            <td style="text-align:center;" id="PayabledTotalAmount"></td>
                        </tr>
                    </tbody>
                </table>
            </div>
            </div>
